﻿@model ExamplesCommonCode.CommonAdmin.AuthUserDisplay

@{
    ViewData["Title"] = "Delete";
}

<h1>Delete AuthUser</h1>

<h3>Are you sure you want to delete this user?</h3>
<div>
    <dl class="row">

        <dt class="col-sm-2">
            @Html.DisplayNameFor(model => model.UserName)
        </dt>
        <dd class="col-sm-10">
            @Html.DisplayFor(model => model.UserName)
        </dd>
        <dt class="col-sm-2">
            @Html.DisplayNameFor(model => model.Email)
        </dt>
        <dd class="col-sm-10">
            @Html.DisplayFor(model => model.Email)
        </dd>
    </dl>
    <form asp-action="Delete" method="post">
        @Html.Hidden(nameof(AuthIdAndChange.UserId), Model.UserId)
        <input type="submit" value="Delete" class="btn btn-danger" /> |
        <a asp-action="Index">Back to List</a>
    </form>
</div>
